package Demo;

import java.util.Calendar;
import java.util.Date;

public class Week {
    public int checkWeek(Date date){
        Calendar calendar = Calendar.getInstance();
        System.out.println(calendar.get(Calendar.DAY_OF_WEEK));
        return calendar.get(Calendar.DAY_OF_WEEK);
    }
}
